package com.tczs.web.action;

import com.alibaba.fastjson.JSONObject;
import com.tczs.web.service.LoginService;
import org.apache.log4j.Logger;


public class LoginAction {

    private static Logger logger = Logger.getLogger(LoginAction.class);

    public JSONObject login(String method,String username,String password){
        logger.info("entry login......");
        LoginService loginService = new LoginService();
        return loginService.login(username,password);
    }
}
